const db = require("./db")

const bannerObj = new db.Schema({
    bannerId:{type:String},
    name: {type:String},
    title: {type:String},
    src: {type:String},
    time: {type:Number},
    author: {type:Number}
})

// author:上传者的权限

module.exports = db.model("banner", bannerObj);
